


public class Merchant {
    private String name;
    private String bankName;
    private String swift;
    private String account;
    private double charge;
    private short period;
    private double minSum;
    private double total;

    public Merchant(String name, String bankName, String swift, String account,
	    double charge, short period, double minSum, double total) {
	super();
	this.name = name;
	this.bankName = bankName;
	this.swift = swift;
	this.account = account;
	this.charge = charge;
	this.period = period;
	this.minSum = minSum;
	this.total = total;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getSwift() {
        return swift;
    }

    public void setSwift(String swift) {
        this.swift = swift;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public double getCharge() {
        return charge;
    }

    public void setCharge(double charge) {
        this.charge = charge;
    }

    public short getPeriod() {
        return period;
    }

    public void setPeriod(short period) {
        this.period = period;
    }

    public double getMinSum() {
        return minSum;
    }

    public void setMinSum(double minSum) {
        this.minSum = minSum;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    @Override
    public String toString() {
	return "Merchant [name=" + name + ", bankName=" + bankName + ", swift="
		+ swift + ", account=" + account + ", charge=" + charge
		+ ", period=" + period + ", minSum=" + minSum + ", total="
		+ total + "]";
    }

    
    
}
